/**
 * Created by PVer on 2019-09-11.
 */
import axios from '@/libs/api.request'

export const del = (id) => {
  return axios.request({
    url: 'Stores/del',
    method: 'get',
    params:{id:id}
  })
}
export const get = (id) => {
  return axios.request({
    url: 'Stores/get',
    method: 'get',
    params:{id:id}
  })
}
export const save = (data) => {
  return axios.request({
    url: 'Stores/save',
    method: 'post',
    data
  })
}
export const edit = (data) => {
  return axios.request({
    url: 'Stores/edit',
    method: 'post',
    data
  })
}
export const getList = (params) => {
  return axios.request({
    url: 'Stores/list',
    method: 'get',
    params:params
  })
}

